// testcard.cpp – testing the class Card
#include <iostream>
#include "card.h"
using namespace std;

int main() {
   Card c1(10, "Heart");
   Card *c2 = new Card(1, "Diamond");

   cout << c1.getValue()   << " " << c1.getSuit() << endl;
   cout << c2->getValue() << " " << c2->getSuit() << endl;

   c1.setSuit("Diamond");
   c2->setSuit("Heart");

   c1.print();
   c2->print();
   return 0;
}
